﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CL_VisionCommu_Test.Helper
{
    public abstract class Abstract_Communication
    {
        protected string platForm = "";

        public abstract string Init(string Path,string mark);

        public abstract bool SendConstantValue(int Index, string ConstantName, double Value);

        public abstract bool SendConstantValue(int Index, string ConstantName, double Value,bool mark);

        public abstract double ReadConstantValue(int Index, string ConstantName);

        public abstract double ReadConstantValue(int Index, string ConstantName, bool mark);

        public abstract bool SendObjectValue(int Index, ObjectItems objectItems);

        public abstract List<string> ReadObjectValue(int Index, ObjectItems objectItems);

        public abstract string GetStatus(int Index);
    }
}
